Sift4
Implements the Sift4 distance (Siderite, 2014) between strings.
Note: this algorithm is asymmetric. This means that \(distance(X, Y) \not\equiv distance(Y, X)\). This is one of the artifacts of the linear nature of the algorithm.
References
Costin [Siderite], M. (2014-11-10). Super fast and accurate string distance algorithm: Sift4. https://siderite.dev/blog/super-fast-and-accurate-string-distance.html
Author
Thibault Debatty, solonovamax